package com.mgm.dao;

import com.mgm.pojo.Advertisement;
import com.mgm.pojo.AdvertisementExample;
import java.util.List;

public interface AdvertisementMapper {
	
    long countByExample(AdvertisementExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Advertisement record);

    int insertSelective(Advertisement record);

    List<Advertisement> selectByExample(AdvertisementExample example);

    Advertisement selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Advertisement record);
    
    int updateByPrimaryKey(Advertisement record);
    
    int insertBatch(List<Advertisement> list);
    
    int updateBatch(List<Advertisement> list);
    
    int updatePremiumClean(Integer id);
}